import React from "react";
import "./index.less";
import { Carousel } from "antd";
const MyCarousel: React.FC = ({}) => {
  return (
    <div className="ctn">
      <Carousel autoplay arrows={true} adaptiveHeight>
        <div>
          <img
            src="../../../public/自习室1.png"
            alt=""
            className="carousel-img"
          />
        </div>
        <div>
          <img
            src="../../../public/自习室2.png"
            alt=""
            className="carousel-img"
          />
        </div>
        <div>
          <img
            src="../../../public/自习室3.png"
            alt=""
            className="carousel-img"
          />
        </div>
      </Carousel>
    </div>
  );
};

export default MyCarousel;
